body,html {
    background-color: #F5F5F5;
    width:100%;
    height:100%;
    -webkit-text-size-adjust: none;
}

* {
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    font: .24rem/1 PingFangSC-Regular,"microsoft yahei";
    letter-spacing: 0
}

h1,h2,h3,h4,h5,h6 {
    font-weight: 400
}

li {
    list-style: none
}

a,del,em,i,ins {
    text-decoration: none;
    color: #333
}

em,i {
    font-style: normal
}

img {
    width: 100%;
    border: 0;
    vertical-align: middle
}


button,input,textarea,select {
    outline: 0;
    -webkit-appearance: none
}

input::-webkit-inner-spin-button,input::-webkit-outer-spin-button {
    -webkit-appearance: none
}

input[type=number] {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield
}

input[type=button] {
    -webkit-border-radius: 0;
    border-radius: 0;
}
input[type=text],input[type=tel],input[type=password],input[type=number] {
    border:none;
    background: none;
    tap-highlight-color:rgba(0,0,0,0);
-webkit-tap-highlight-color:rgba(0,0,0,0);
}
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none
}
.clearfix::after,.clearfix::before {
    content: " ";
    display: block;
    visibility: hidden;
    clear: both;
    height: 0;
    line-height: 0;
}
.clearfix {
    zoom: 1;
}
#layout {
    height: 100%;
    max-width: 750px;
    min-width: 320px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}
#layout button.gma-cur{
    color:#000;
    background: none;
}
.gma-btn{
    width:78%;
    height:.8rem;
    line-height: .8rem;
    text-align: center;
    color:#fff;
    display: block;
    margin: 0 auto;
    border: none;
    background-color:#FF5555;
    font-size: .3rem;
}
.hide{
    opacity: 0;
}
.show{
    opacity: 1;
}
.act-ago{
    color: #fff;
    background-color:#FF5555;
}
.acted-yet{
    color:#000;
    background-color:#808080;
}
#notice{
    height:.6rem;
    line-height:.6rem;
    border-radius: .1rem;
    width: 40%;
    margin: .5rem auto;
    text-align:center;
    font-size:.26rem;
    color:#fff;
    background-color:#808080;
    display:block;
    white-space:nowrap; 
    overflow:hidden; 
    text-overflow:ellipsis;
}
#res-msg{
    width: 40%;
    margin: .4rem auto 1.4rem;
    display: none;
    font-size: .24rem;
    padding:.2rem 0;
    border: 1px solid #DEDEDE;
    color: grey;
    background: none;
    border-radius: .1rem;
    text-align: center;
    position: relative;
}
#mask{
    width:100%;
    height:100%;
    background:rgba(0,0,0,.6);
    position: fixed;
    top:0;
    left: 0;
    z-index: 999;
}
.mask-hide{
    display: none;
}
.mask-show{
    display: block;
}
//弹框和蒙版
#alert{
    width: 72%;
    // height:2.9rem;
    font-size: .34rem;
    background: #fff;
    overflow: hidden;
    border-radius: .24rem;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    z-index: 9999;
}
.alert-content{
    // height: 1.2rem;
    padding:.4rem .3rem;
    line-height: .5rem;
    border-bottom: 1px solid #F8F8F8;
    color:#030303; 
}
.alert-cancel,.alert-sure{
    width: 50%;
    float: left;
    text-align: center;
    padding: 0.3rem 0;
    font-size: .3rem;
    color:#666666;
}
.act-cur{
    background:#FF5658;
    color:#fff; 
}
//错误提示
#dialogErr{
    width: 60%;
    height: 3rem;
    line-height: 3rem;
    text-align: center;
    border-radius: .1rem;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    font-size: .3rem;
    background: rgba(0, 0, 0, .4);
    color: #fff;
    z-index: 9999;
    white-space:nowrap; 
    overflow:hidden; 
    text-overflow:ellipsis;
}
// 返回按钮
/*顶部通栏*/
#header {
  height: 0.86rem; 
  width:100%;
  position: fixed;
  top:0;
  left: 0;
  z-index: 99999;
}

#topbar {
  width: 100%;
  position: absolute;
  top: 0;
  height: 0.86rem;
  z-index: 9999;
  background-color: #fff;
  box-shadow: 0 0.02rem 0.04rem 0 rgba(0, 0, 0, 0.15); }

#topbar>.back {
  position: absolute;
  top: 0;
  left: 0;
  border: 0 solid rgba(255, 255, 255, 0);
  border-right-width: 0.37rem;
  border-left-width: 0.37rem;
  width: 0.24rem;
  height: 0.4rem;
  border-top-width: 0.23rem;
  border-bottom-width: 0.23rem;
  background: url("../img/back.png") center center no-repeat;
  -webkit-background-size: 100% auto;
  background-size: 100% auto; }
  #topbar>h1{
    width: 80%;
    margin: 0 auto;
    display: block;
    text-align: center;
    line-height: .86rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #212121;
    font-size: .34rem;
  }
@media (min-width: 120px) {
    html {
        font-size:40px
    }
}

@media (min-width: 320px) {
    html {
        font-size:44px
    }
}

@media (min-width: 375px) {
    html {
        font-size:50px
    }
}

@media (min-width: 410px) {
    html {
        font-size:56px
    }
}

@media (min-width: 455px) {
    html {
        font-size:60px
    }
}

@media (min-width: 510px) {
    html {
        font-size:80px
    }
}

@media (min-width: 610px) {
    html {
        font-size:90px
    }
}

@media (min-width: 750px) {
    html {
        font-size:100px
    }
}
